package com.zhijian.medical.entity.vo.response;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 字典表 回显vo
 *
 * @author HCG
 * @version 1.0
 * @date 2022-06-05 20:03:49
 */
@Data
@Api(tags = "字典表回显vo")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DictionaryVo implements Serializable {

    private static final long serialVersionUID = -1;

    /**
     * 主键id
     */
    @ApiModelProperty("主键id")
    private Long id;

    /**
     * 字典类型
     */
    @ApiModelProperty("字典类型")
    private String type;

    /**
     * 字典值，表示状态时，0：不启用，1：启用
     */
    @ApiModelProperty("字典值，表示状态时，0：不启用，1：启用")
    private String value;

    /**
     * 字典标签
     */
    @ApiModelProperty("字典标签")
    private String label;

    /**
     * 父id
     */
    @ApiModelProperty("父id")
    private Long pId;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String note;

}